<%--
  Author: chengwei
  Date: 2016/7/18
  Time: 16:43
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="modal-dialog" role="document">

    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                    aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="myModalLabel">修改构架</h4>
        </div>
        <div class="modal-body">
            <form id="frm" class="form-horizontal">
                <input type="hidden" name="column.columnId" id="columnId" value="${param.column_id}"/>
                <input type="hidden" name="functionId" id="functionId" value="${function.functionId}"/>

                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">名称</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="name" name="name" value="${function.name}">
                    </div>
                </div>
                <div class="form-group">
                    <label for="showOrder" class="col-sm-2 control-label">显示顺序</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="showOrder" name="showOrder" value="${function.showOrder}">
                    </div>
                </div>

                <div class="form-group">
                    <label for="aPublic" class="col-sm-2 control-label">是否公共</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="aPublic" name="aPublic" value="${function.aPublic}">
                    </div>
                </div>

                <div class="form-group">
                    <label for="jsp" class="col-sm-2 control-label">是否jsp</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="jsp" name="jsp" value="${function.jsp}">
                    </div>
                </div>
                
                <div class="form-group">
                    <label for="url" class="col-sm-2 control-label">url</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="url" name="url" value="${function.url}">
                    </div>
                </div>
            </form>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            <button type="button" onclick="doSaveFunction();" class="btn btn-primary">保存</button>
        </div>
    </div>
</div>
